package project;

public class User
{
  private static User instance = null;
  private String userName = " ";
  private String password = " ";

  public static User getInstance()
  {
    if (instance == null) {
      instance = new User();
    }
    return instance;
  }

  public String getPassword()
  {
    return this.password;
  }

  public void setPassword(String password)
  {
    this.password = password;
  }

  public String getUserName()
  {
    return this.userName;
  }

  public void setUserName(String userName)
  {
    this.userName = userName;
  }
}